#ifndef TIME_H
#define TIME_H

#include <iostream>
#include <string>
typedef unsigned char u8;
using namespace std;

class Time
{
    u8 hour;
    u8 min;
    u8 sec;

public:
    Time(int h, int m, int s) : hour(h), min(m), sec(s)
    {
        cout << "Time object is created" << endl;
    }

    string tostring();

    // void setTime(int h, int m, int s)
    // {
    //     hour = h;
    //     min = m;
    //     sec = s;
    // }
    ~Time()
    {
        cout << "Time object is destroyed" << endl;
    }
};

#endif